<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<title>{$GLOBALS['S']['title']}</title>
		<meta name="description" content="{$GLOBALS['S']['keywords']}" />
		<meta name="keywords" content="{$GLOBALS['S']['description']}" />
		<link href="favicon.ico" rel="shortcut icon" type="image/x-icon">
		<link rel="stylesheet" type="text/css" href="{$GLOBALS['skin']}public/css/bootstrap.css"/>
		<link rel="stylesheet" type="text/css" href="{$GLOBALS['skin']}public/css/base.css"/>
		<link rel="stylesheet" href="{$GLOBALS['skin']}public/fonticon/iconfont.css">
		<script type="text/javascript" src="{$GLOBALS['skin']}public/js/jquery.min.js"></script>
		<script type="text/javascript" src="{$GLOBALS['skin']}public/js/bootstrap.js"></script>
		<script charset="utf-8" src="{$GLOBALS['WWW']}include/js/kindeditor/kindeditor-min.js"></script>
		<script charset="utf-8" src="{$GLOBALS['WWW']}include/js/kindeditor/lang/zh_CN.js"></script>
		<script src="{$GLOBALS['skin']}public/js/jquery.SuperSlide.2.1.1.js"></script>
		<script type="text/javascript" src="{$GLOBALS['skin']}public/js/banner.js"></script>
		<script type="text/javascript" src="{$GLOBALS['skin']}public/js/scrollReveal.js"></script>
		<script src="{$GLOBALS['WWW']}include/js/dyfrom.js" type="text/javascript"></script>
		<script type="text/javascript">
		function postform(){
			value=$("#title").val();
			if(!dyfrom_max(value, 100)){
				alert('姓名不能大于100个字符');return false;
			}
			value=$("#body").val();
			if(!dyfrom_max(value, 500)){
				alert('咨询内容不能大于500个字符');return false;
			}
		{if($GLOBALS['G_DY']['vercode']==1)}
			value=$("#vercode").val();
			if(dyfrom_ajax("{$GLOBALS['WWW']}index.php?c=ajax&a=vercode","vercode="+value)=='false'){
				alert('验证码输入错误');return false;
			}
		{/if}
			return true;
		}
		</script>
	</head>
	<body>
		<header>
			<div class="header-top">
				<div class="container">
					<div class="row ">
						<div class="col-xs-10">
							<p>欢迎访问陕西永进成套电气设备有限公司官方网站！</p>
						</div>
						<div class="col-xs-2">
							<span>
							{loop table="classtype" tid="7" body="1" limit="1" as="v"}
							<a href="{$v['url']}" target="_parent">{$v['classname']}</a>
							{/loop}
							</span>
							<i></i>
							<span>
							{loop table="classtype" tid="4" body="1" limit="1" as="v"}
							<a href="{$v['url']}" target="_parent">{$v['classname']}</a>
							{/loop}
							</span>
						</div>
					</div>
				</div>
			</div>
			
			<div class="header-logo">
				<div class="container">
					<div class="col-lg-3 header-log">
						<img src="{$GLOBALS['skin']}public/img/logo.png" alt="陕西永进成套电气设备有限公司" />
						<p>西安本地专业的电缆桥架、母线方案提供商</p>
					</div>
					
					<div class="col-lg-7 header-adv">
						<p class="header-span"><span>18</span>年桥架行业生产制造经验</p>
						<p class="header-p">韩国三星电子指定供应商</p>
						<p class="header-p">西北首家采用激光切割技术的企业</p>
					</div>
					
					<div class="col-lg-2 header-tel">
						<p class="header-tel-txt">全国咨询热线：</p>
						<p class="header-tel-hm">137-2077-6088</p>
						<p class="header-tel-hm">186-9188-7979</p>
					</div>
				</div>
			</div>
			<nav class="navbar navbar-default">
				<div class="container">
					<ul class="nav navbar-nav">
						<li><a href="/">永进首页</a></li>
						{loop table="classtype" tid="1" body="1" limit="1" as="v"}
						<li><a href="{$v['url']}" target="_top">{$v['classname']}</a></li>
						{/loop}
						{loop table="classtype" tid="2" body="1" limit="1" as="v"}
						<li><a href="{$v['url']}" target="_top">{$v['classname']}</a></li>
						{/loop}
						{loop table="classtype" tid="10" body="1" limit="1" as="v"}
						<li><a href="{$v['url']}" target="_top">{$v['classname']}</a></li>
						{/loop}
						{loop table="classtype" tid="12" body="1" limit="1" as="v"}
						<li><a href="{$v['url']}" target="_top">{$v['classname']}</a></li>
						{/loop}
						{loop table="classtype" tid="13" body="1" limit="1" as="v"}
						<li><a href="{$v['url']}" target="_top">{$v['classname']}</a></li>
						{/loop}
						{loop table="classtype" tid="5" body="1" limit="1" as="v"}
						<li><a href="{$v['url']}" target="_top">{$v['classname']}</a></li>
						{/loop}
						{loop table="classtype" tid="3" body="1" limit="1" as="v"}
						<li><a href="{$v['url']}" target="_top">{$v['classname']}</a></li>
						{/loop}
						{loop table="classtype" tid="4" body="1" limit="1" as="v"}
						<li class="active"><a href="{$v['url']}" target="_top">{$v['classname']}</a></li>
						{/loop}
						{loop table="classtype" tid="6" body="1" limit="1" as="v"}
						<li><a href="{$v['url']}" target="_top">{$v['classname']}</a></li>
						{/loop}
						{loop table="classtype" tid="7" body="1" limit="1" as="v"}
						<li><a href="{$v['url']}" target="_top">{$v['classname']}</a></li>
						{/loop}
					</ul>
				</div>
			</nav>
			<div class="header-banner">
				<div class="banner">
					<div class="bd">
				        <ul>
							<li style="background-image: url(&quot;{$GLOBALS['skin']}public/img/banner.jpg&quot;); display: none;"><a href="" target="_blank" title="永进电气"></a></li>
							<li style="background-image: url(&quot;{$GLOBALS['skin']}public/img/banner2.jpg&quot;); display: none;"><a href="" target="_blank" title="永进电气"></a></li>
							<li style="background-image: url(&quot;{$GLOBALS['skin']}public/img/banner3.jpg&quot;); display: list-item; opacity: 0.693084;"><a href="" target="_blank" title="永进电气"></a></li>
						</ul>
						<span class="prev" style="opacity: 0; display: inline;"></span>
						<span class="next" style="opacity: 0; display: inline;"></span>
					</div>
			    </div>
			</div>
		</header>
		<div class="container container-In">
			<div class="contposition iconfont icon-dingwei2">
				<ul>
					<li>您所在的当前位置 :{$positions}</li>
					<li>&gt;</li>
					<li class="noLink">正文</li>
				</ul>
			</div>
			<div class="contpotxt cl">
				<div class="contpochar">
					<div class="content">
						<div class="member_f">
							<form action="{$GLOBALS['WWW']}index.php?c=message&a=add&tid={$type['tid']}" method="post" onsubmit="return postform();">
								{if($fmolds && $faid)}
								<input name="fmolds" type="hidden" value="{$fmolds}" />
								<input name="faid" type="hidden" value="{$faid}" />
								<dl><dt>来自：</dt>
									<dd>{fun contentinfo($fmolds,$faid,'title')}</dd>
								</dl>
								{/if}
								<div class="alert alert-info" role="alert">
									<strong>温馨提示!</strong> 欢迎使用陕西永进电气设备有限公司网上留言系统，请填写您的留言信息，我们会派专人及时跟您联系！
								</div>
								<div class="formtab">
									<div class="formtab_title">
										<div class="input-group input-group-lg">
											<span class="input-group-addon" id="sizing-addon1">姓&nbsp;&nbsp;&nbsp;&nbsp;名：</span>
											<input type="text" class="form-control" placeholder="请填写您的姓名" name="title" id="title" style="width:520px;" />
											<i class="m">{$v['m']}</i>
										</div>
									</div>
									<div class="formtab_title">
										<div class="input-group input-group-lg">
											<span class="input-group-addon" id="sizing-addon1">电&nbsp;&nbsp;&nbsp;&nbsp;话：</span>
											<input type="text" class="form-control" placeholder="请填写您的联系电话" name="tel" id="tel" style="width:520px;" />
											<i class="m">{$v['m']}</i>
										</div>
									</div>
									<div class="formtab_cont">
										<script type="text/javascript">
											$(function() {
												KindEditor.create("#body", {
													resizeType: 1,
													allowPreviewEmoticons: false,
													allowImageUpload: false,
													items: ["fontname", "fontsize", "|", "forecolor", "hilitecolor", "bold", "italic", "underline", "removeformat", "|", "justifyleft", "justifycenter", "justifyright", "insertorderedlist", "insertunorderedlist", "|", "emoticons", "image", "link"]
												})
											});
										</script>
										<div class="input-group input-group-lg">
											<span class="input-group-addon" id="sizing-addon1">内&nbsp;&nbsp;&nbsp;&nbsp;容：</span>
											<textarea name="body" id="body" class="form-control" style="width:520px; height:400px;" placeholder="请填写您的留言内容 ......">请填写您的留言内容 ......</textarea>
											<i class="m">{$v['m']}</i>
										</div>
									</div>
									{if($GLOBALS['G_DY']['vercode']==1)}
									<div class="formtab_title">
										<div class="input-group input-group-lg">
											<span class="input-group-addon" id="sizing-addon1">验证码&nbsp;：</span>
											<input type="text" name="vercode" id="vercode" class="form-control" style="width:440px;" />
											<img src="{$GLOBALS['WWW']}include/vercode.php" id="vercodeimg" width="60" height="40" onclick="newvercode();" style="cursor:pointer;" />
											<i class="m">{$v['m']}</i>
										</div>
									</div>
									<script type="text/javascript">
									setTimeout('newvercode()', 1000);
									function newvercode() {
										document.getElementById("vercodeimg").src = "{$GLOBALS['WWW']}include/vercode.php?a=" + Math.random();
									}
									</script>
									{/if}
									{foreach $fields as $v}
									<dl><dt>{$v['name']}：</dt>
										<dd>{$v['input']}</dd>
										<dd class="m">{$v['m']}</dd>
									</dl>
									{/foreach}
									<div class="formtab_title">
										<input type="submit" value="提交留言" class="putma btn btn-primary" />
										<input type="reset" value="清空内容" class="putma btn btn-danger" />
									</div>
								</div>
							</form>
						</div>
					</div>
				</div>
			</div>
		</div>
		{include="bottom_In.html"}
	</body>
</html>